<td class="right_side">
    <div class="right_column_bl">
    	<?
	// если залогинен, то показываем меню
	if ($objUser->isLoggedIn()) {
		View_User::viewUserRightColumnProfile($objUser);
	} else {
	?>
		
			<h2>Авторизация</h2>
                        <form action="<?=W_ABSPATH?>login" name="auth" method="POST">
				<table class="autorization_tb">
					<tbody><tr>
						<td colspan="2">
							<input type="text" name="user" onblur="if(this.value==''){this.value='логин'}" onfocus="if(this.value=='логин'){this.value=''}" value="логин" class="autor_t">
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<input type="password" name="pswrd" onblur="if(this.value==''){this.value='Пароль'}" onfocus="if(this.value=='Пароль'){this.value=''}" value="Пароль" class="autor_t">
						</td>
					</tr>
					<tr>
						<td>
                                                    <input type="button" value="Войти" class="submit_bt" onclick="javascript: document.auth.submit();">
                                                    <input type="submit" style="visibility: hidden">
						</td>
						<td>
							<ul class="autor_helper">
								<li><a href="<?=W_ABSPATH?>registration/">Регистрация</a></li>
								<li><a href="<?=W_ABSPATH?>help/">Помощь</a></li>
							</ul>
						</td>
					</tr>
				</tbody></table>
			</form>	
		
<?
        }
?>                
    </div><!-- .right_column_bl -->
		<div class="right_column_bl">
			<h2>Опрос</h2>
			<span class="interview_theme">Роснефть заключит<br> договор по освоению Арктики с:</span>
			<form action="">
				<ul class="interview_u">
					<li><label><input type="radio" name="interview"> <b>Shell</b></label></li>
					<li><label><input type="radio" name="interview"> <b>Total</b></label></li>
					<li><label><input type="radio" name="interview"> <b>ТНК-BP</b></label></li>
					<li><label><input type="radio" name="interview"> <b>BP</b></label></li>
					<li><label><input type="radio" name="interview"> <b>Exxon-Mobil</b></label></li>
					<li><label><input type="radio" name="interview"> <b>CNPC</b></label></li>
				</ul>
				<input type="button" value="Голосовать" class="submit_bt left">
				<a class="all_inf left" href="#">Все опросы</a>
				<div class="clear"></div><!-- .clear -->
			</form>	
		</div><!-- .right_column_bl -->
		<div class="right_column_bl">
                    <h2>Наука и технологии</h2>
                    <ul class="news">
                    <?
                    $objNews = new News_News();
                    $arrNews = $objNews->getNewsSortedByDater(4 /*тип новости*/,6 /*количество новостей*/);

                    View_News::viewBlockNews($arrNews);
                    ?>
                    </ul>
		</div><!-- .right_column_bl -->	
		<div class="right_column_last">
			<h2 class="left">Партнеры</h2>
			<a class="all_part right" href="#">Все партнеры</a>
			<div class="clear"></div><!-- .clear -->
			<ul class="all_part_u">
				<li>
					<a href="#">
						<img title="" alt="" src="images/temp/sber_lg.jpg">
					</a>
				</li>
				<li>
					<a href="#">
						<img title="" alt="" src="images/temp/mers_lg.png">
					</a>
				</li>
				<li>
					<a href="#">
						<img title="" alt="" src="images/temp/sber_lg.jpg">
					</a>
				</li>
				<li>
					<a href="#">
						<img title="" alt="" src="images/temp/mers_lg.png">
					</a>
				</li>
				<li>
					<a href="#">
						<img title="" alt="" src="images/temp/sber_lg.jpg">
					</a>
				</li>
			</ul>
		</div><!-- .right_column_last -->	
	</td>